<?php
/**
 * 网站首页接口
 */
namespace App\Http\Controllers\API;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class IndexController extends Controller
{
    public function index()
    {
        $article = ['id' => '1', 'name' => 'test'];
        return json_encode($article);
    }
}
